package Test;

import Entity.entityContext;
import Service.ContentContext;
import UI.*;

public class Main {
    public static void main(String[] args) {
        Login login = new Login();
        ChangeUI changeUI = new ChangeUI();
        Menu menu = new Menu();
        entityContext entityContext = new entityContext();
        ContentContext contentContext = new ContentContext();
        Exam exam = new Exam();
        Welcome welcome = new Welcome();
        entityContext.setContentContext(contentContext);
        contentContext.setEntityContext(entityContext);
        contentContext.setChangeUI(changeUI);
        login.setChangeUI(changeUI);
        menu.setChangeUI(changeUI);
        exam.setChangeUI(changeUI);
        changeUI.setLogin(login);
        changeUI.setMenu(menu);
        changeUI.setExamFrame(exam);
        changeUI.setWelcome(welcome);
        changeUI.setContentContext(contentContext);
        changeUI.showMe();


    }
}
